package com.hai.service.impl;

import org.springframework.stereotype.Service;

import com.alibaba.fastjson.JSON;
import com.hai.pojo.User;
import com.hai.service.LoginServiceInf;

@Service
public class LoginServiceImp implements LoginServiceInf{

	@Override
	public String login(User user) {
		user.setName("小孩");
		return JSON.toJSONString(user);
	}

}
